package com.ds.infrastructure.hyperspace.console.common.methodlock;

public class MethodLockException extends RuntimeException {
    private boolean isDuplicateKeyException;

    public MethodLockException(String message) {
        super(message);
    }

    public MethodLockException(String message, boolean isDuplicateKeyException) {
        super(message);
        this.isDuplicateKeyException = isDuplicateKeyException;
    }

    public Boolean getDuplicateKeyException() {
        return isDuplicateKeyException;
    }
}
